Skip to content

fix(dag): close two CI-only failures from the DAG-LOC-01 merge - #267

Merged
LeXwDeX merged 1 commit into
devfrom
fix/dag-loc-ci-followup
Aug 14, 2026
Merged

fix(dag): close two CI-only failures from the DAG-LOC-01 merge#267
LeXwDeX merged 1 commit into
devfrom
fix/dag-loc-ci-followup

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Two failures surfaced by the dev full-test run (31830294131) after merging #266, both outside that PR's gate set:

  1. license-scope (linux unit job): packages/opencode/src/dag/location.ts was created without the repository's SPDX copyright banner — AGPL source missing headers.
  2. bootstrap-dag-wiring recovers a persisted workflow: the test seeds its WorkflowTable row via raw SQL without the new directory column, so the fail-closed NULL-stamp policy (a NULL stamp matches no instance) leaves the workflow unadopted — "bootstrap did not start the DAG scheduler".

Fixes: standard SPDX header; stamp the seed with the instance directory (same sibling-test idiom as dag-wake-integration).

Root cause of both escaping #266: its verify gates ran test/dag test/goal test/tool but not test/project or the core license manifest.

Test plan

  • core bun test test/license-scope.test.ts 5/5
  • opencode bun test test/project/bootstrap-dag-wiring.test.ts 1/1 (was failing pre-fix)
  • opencode bun test test/dag test/goal 607/0
  • root bun run lint 4849/4852
  • full turbo typecheck 29/29

…on authority

Two CI-only failures from the DAG-LOC-01 merge (PR #266), both outside the
PR's gate set:

- license-scope (linux unit job) flagged packages/opencode/src/dag/location.ts
  as an AGPL source without SPDX headers — the file was created without the
  repository's copyright banner. Add the standard two-line header.
- bootstrap-dag-wiring 'recovers a persisted workflow' seeds its WorkflowTable
  row via raw SQL without the new directory column, so the fail-closed NULL
  stamp policy (a NULL stamp matches no instance) leaves the workflow
  unadopted and the scheduler never starts. Stamp the seed with the instance's
  directory (same sibling-test idiom as dag-wake-integration).

Root cause for both: the PR's verify gate ran test/dag test/goal test/tool but
not test/project or the core license manifest; the follow-up gate list should
include them.

Gates: core license-scope 5/5, opencode bootstrap-dag-wiring 1/1,
test/dag test/goal 607/0, lint 4849/4852, typecheck clean.
@LeXwDeX
LeXwDeX merged commit 7effbc5 into dev Aug 14, 2026
5 checks passed
@LeXwDeX
LeXwDeX deleted the fix/dag-loc-ci-followup branch August 14, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant